#ifndef __WXD_VISTUALELEMENT_H__
#define __WXD_VISTUALELEMENT_H__

#include "defs.h"
#include "uielement.h"
#include "renderable.h"

class WXDLLIMPEXP_DIRECTUI wxDVistualElement : public wxDUIElement, public wxDRenderable
{
public:
	wxDVistualElement();
	wxDVistualElement(wxDUIElement* parent, 
		const wxString& id = wxEmptyString, 
		const wxPoint& position = wxDefaultPosition, 
		const wxSize& size = wxDefaultSize);
	virtual ~wxDVistualElement();

protected:
	virtual bool AllowAddChild( wxDUIElement* child ) { return false; }
	virtual bool AllowRemoveChild( wxDUIElement* child ) { return false; }

private:
	DECLARE_ABSTRACT_CLASS(wxDVistualElement);
};

#endif